#ifndef TRIANGLE_H
#define TRIANGLE_H

#include <vector>
#include "memory"

struct segment;

struct triangle
{
    triangle(int, int, int, int);

    triangle();

    std::vector<int> p;
    std::vector<int> neigh;

    std::vector<int> children;

    int id;
};

std::ostream& operator<<(std::ostream&, const triangle&);

#endif // TRIANGLE_H
